package com.ruoyi.tcm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 知识库对象 tcm_knowledge_base
 * 
 * @author cong
 * @date 2025-02-07
 */
public class TcmKnowledgeBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识库主键 */
    private Long id;

    /** 知识库名称 */
    @Excel(name = "知识库名称")
    private String baseName;

    /** 知识库类型 */
    @Excel(name = "知识库类型")
    private Long baseType;

    /** 状态（0-弃用1-在用） */
    @Excel(name = "状态", readConverterExp = "0=-弃用1-在用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBaseName(String baseName) 
    {
        this.baseName = baseName;
    }

    public String getBaseName() 
    {
        return baseName;
    }
    public void setBaseType(Long baseType) 
    {
        this.baseType = baseType;
    }

    public Long getBaseType() 
    {
        return baseType;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseName", getBaseName())
            .append("baseType", getBaseType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
